//
//  Bools.swift
//  JXBaseTools
//
//  Created by godox on 2022/7/7.
//

import Foundation

extension Bool: JXCompatible {}

extension JX where Base == Bool {
    
    public var toInts: Int {
        
        if base {
            return 1
        } else {
            return 0
        }
        
    }
    
}
